Upgrading from JDK 1.1.x to JDK 1.2.x

This section offers a few notes regarding upgrading of the JDK. For more information, please refer to the JDK documentation.
Applet viewing with JDK 1.2
The JDK appletviewer behaviour has changed in JDK 1.2. To quote the JDK documentation: "In JDK 1.2,

appletviewer ignores your CLASSPATH environment setting (which it did not ignore in 1.1)."
Because of this, the SNiFF+ feature for automatically generating an HTML file to embed and view applets no longer works if you are using JDK 1.2.
If you are using JDK 1.2, write an HTML file to embed the applet and save this in the directory that contains the "root" package (the first package in the full package name). That is, one directory level higher than the top-most directory containing named package code.
Command line length option (-c)
The -c (command line length) option for passing files to the javac compiler is set in
<sniff_install_dir>/make_support/general.java.mk
at 1280 bytes by default.
If the CLASSPATH is longer than the set length, compilation problems can occur.
For JDK 1.1.x tools (compiler), this option must be set, and can be increased if higher values are supported by the shell used.
For JDK tools as of JDK 1.2 this option is not necessary, and is therefore best removed. Problems caused by CLASSPATHS that are too long are thus avoided, and compilation is faster without this option, because a filelist (without repeats) is passed to the compiler.